Install openSUSE on a Mac
Create installation media
Prepare for dual-boot system
If you want to install openSUSE as the only OS, this step can be skipped.
- Boot/reboot your Mac.
- Press and hold Command + R key. (Meta + R key in PC keyboard)
- Wait Recover Mode loading.
- Disk Utility is what you need. Start it.
- Choose the main disk, add new partition for openSUSE and shrink partition of macOS.
- Reboot.
Boot from Live USB
- Boot/reboot your Mac.
- Press and hold Option key. (Alt key in PC keyboard)
- You should see a list of OS boot options.
- Choose EFI Boot.
Next...
Other installation steps are similar to PC installations.
Note, here is a recovery partition for mac. If you want dual-boot macOS and openSUSE, you better keep this partition.
Recover macOS
If your recovery partition is not removed:
- Reboot.
- Press and hold Command + R. (Meta + R key in PC keyboard)
- Choose Reinstall macOS.
If your recovery partition has been removed:
- Reboot.
- Press and hold Option + Command + R. (Alt + Meta + R key in PC keyboard)
- Connect to WiFi or wired network.
- Wait downloading recovery system from the internet. This step may take hours.
- Choose Reinstall macOS.
Troubleshooting
Problem: trying to boot the Leap 15.3 Installation media on EFI mode (on Mac Hardware) results in it hanging or crashing.
Solution:
- flash ISO to USB Media
- mount EFI partition of flashed USB Media
- go to EFI/BOOT
- execute
cp grub.efi bootx64.efi
- umount and reboot
It is recommended to install with online repositories activated. This way the updated shim can be installed and the installation can boot.
If you can ONLY use the offline media, install with Secure Boot disabled, it will boot automatically (but it won't appear on the Boot Selection screen). Update Leap a few times (zypper up
) until there's "Nothing to do" and then you can enable Secure Boot on YaST boot loader (it will ask to install the updated shim). This way you'll get the "EFI Boot" option on the Boot Selection screen. Reboot.